package dongnv.poweramp.screen;

import dongnv.poweramp.R;
import dongnv.poweramp.activity.HomeActivity;
import dongnv.poweramp.data.ListSongAdapter;
import android.content.Context;
import android.view.View;
import android.widget.ListView;
import android.widget.RelativeLayout;

public class ListSongPlayScreen {
	public ListSongPlayScreen(Context context, ListSongAdapter listSongAdapter) {
		this.context = context;
		view = View.inflate(context, R.layout.list_song_play, null);
		container = (RelativeLayout) view.findViewById(R.id.containerSong);
		listSong = new ListView(context);
		listSong.setAdapter(listSongAdapter);
		container.addView(listSong); 
	}
	
	public View getView() {
		return view;
	}
	public ListView getListSong() {
		return listSong; 
	}
	public void setListSong(ListView listSong) {
		this.listSong = listSong;
	}
	private View view;
	private Context context;
	private ListView listSong;
	private RelativeLayout container;
}
